var Router = require('vue-router');

module.exports = new Router.default({
    mode: 'hash',
    routes: [
        {
            path: '/',
            redirect: '/main'
        }, {
            path: '/main',
            component: (resolve) => require(['../pages/main.vue'], resolve)
        }, {
            path: '/login_register',
            component: (resolve) => require(['../pages/login_register/main.vue'], resolve)
        }, {
            path: '/login_register/forgot',
            component: (resolve) => require(['../pages/login_register/forgot.vue'], resolve)
        }, {
            path: '/personal_center',
            component: (resolve) => require(['../pages/personal_center/main.vue'], resolve)
        }, {
            path: '/personal_center/get_cash',
            component: (resolve) => require(['../pages/personal_center/property/get_cash.vue'], resolve)
        }, {
            path: '/news',
            component: (resolve) => require(['../pages/news/main.vue'], resolve)
        }, {
            path: '/hash_rate/detail',
            component: (resolve) => require(['../pages/hash_rate/detail.vue'], resolve)
        }, {
            path: '/purchased',
            component: (resolve) => require(['../pages/purchased/main.vue'], resolve)
        }, {
            path: '/hash_rate',
            component: (resolve) => require(['../pages/hash_rate/main.vue'], resolve)
        }, {
            path: '/hash_rate/payment',
            component: (resolve) => require(['../pages/hash_rate/payment.vue'], resolve)
        }, {
            path: '/hash_rate/purchase',
            component: (resolve) => require(['../pages/hash_rate/purchase.vue'], resolve)
        }, {
            path: '/coin_haha',
            component: (resolve) => require(['../pages/coin_haha/main.vue'], resolve)
        }, {
            path: '/coin_haha/exchange',
            component: (resolve) => require(['../pages/coin_haha/exchange.vue'], resolve)
        }, {
            path: '/coin_haha/mining_details',
            component: (resolve) => require(['../pages/coin_haha/details.vue'], resolve)
        }, {
            path: '/others/article',
            component: (resolve) => require(['../pages/others/article.vue'], resolve)
        }, {
            path: '/order_detail',
            component: (resolve) => require(['../pages/personal_center/order_detail.vue'], resolve)
        }
    ]
});